// CashPayment.java
public class AlipayPayment implements Payment {
    @Override
    public boolean pay(double amount) {
        System.out.println("支付宝支付: ¥" + amount);
        return true; // 支付宝支付总是成功
    }
    
    @Override
    public String getPaymentMethod() {
        return "支付宝";
    }
}
